#include "CGamePlay.h"

int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd )
{
	CGamePlay *game = new CGamePlay(hInstance,CGamePlay::GAME_SCREEN_RESOLUTION_800_600 , false , 60);
	if (!game->GameInit()) 
	{
		MessageBox(0,"Failed init",0,0);
		game->GameEnd();
		return 0;
	}

	game->GameRun();

	game->GameEnd();

	return 1;
}